<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/pc/console/common/taglibs.jsp"%> 
<html>
<head>
<title>fckeditor上传图片测试</title>
<script type="text/javascript" src='./fckeditor/fckeditor.js'></script>
<script language="javascript" src="${pageContext.request.contextPath }/pc/console/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="../js/jquery-form.js"></script>
<script type="text/javascript" src="../js/uploads.js"></script>
<script language="javascript" type="text/javascript">

$(function(){
   
		var fck = new FCKeditor("addImages");
		fck.BasePath = "fckeditor/";
		//因为有图片服务器，所以重指定图片上传的url
		fck.Config["ImageUploadURL"] = "/pc-console/upload/uploadForFck.do";
		fck.Height = 400;
		fck.ReplaceTextarea();

});
   
</script>

</head>
<body>
<textarea id="addImages"></textarea>
</body>
</html>